tools/ocaml/xenstored: unify watch firing
authorEdwin Török <edvin.torok@citrix.com>
Tue, 15 Dec 2020 11:28:56 +0000 (12:28 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Tue, 15 Dec 2020 11:28:56 +0000 (12:28 +0100)
commitd870735c70af3c8ae40bf85995142985d0119119
treeb5f595d2beb3baa3efee67ccd8df3814e6abb2ee
parentaaf56fd686241f613e2aa6841e4e9068bdf3a90b
tools/ocaml/xenstored: unify watch firing

This will make it easier insert additional checks in a follow-up patch.
All watches are now fired from a single function.

This is part of XSA-115.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/ocaml/xenstored/connection.ml